package com.zking.ssm.He.service;

import com.zking.ssm.He.mapper.HotelWithdrawalMapper;
import com.zking.ssm.He.model.HotelWithdrawal;
import com.zking.ssm.util.PageBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IHotelWithdrawalService {

    int deleteByPrimaryKey(Integer id);

    int insert(HotelWithdrawal record);

    int insertSelective(HotelWithdrawal record);

    HotelWithdrawal selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HotelWithdrawal record);

    int updateByPrimaryKey(HotelWithdrawal record);

    List<HotelWithdrawal> list(HotelWithdrawal record,PageBean pageBean);

}
